package org.kth.dks.util;

/**
 * Implements a contains similar to pair in C++ STL
 * <p>Title: DKS</p>
 * <p>Description: DKS Middleware</p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: KTH-IMIT/SICS</p>
 * @author not attributable
 * @version 1.0
 */

public class Triple {
  private Object o1;
  private Object o2;
  private Object o3;

  public Triple(Object o1, Object o2, Object o3) {
    this.o1 = o1;
    this.o2 = o2;
    this.o3 = o3;
  }

  public Object first() { return o1; }
  public Object second() { return o2; }
  public Object third() { return o3; }

}
